package com.cloud.xtools.user.domain.resource.admin;

import com.cloud.xtools.user.domain.entity.Permission;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class RoleResource {
    private Long id;
    private String name;
    // 创建时间
    private LocalDateTime createdAt;
    // 更新时间
    private LocalDateTime updatedAt;
    // 权限
    private List<Permission> permissions;
}
